<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改单位经费')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-jingfeidept-edit" th:object="${jingfeiDept}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位ID：</label>
                <div class="col-sm-8">
                    <input name="deptid" th:field="*{deptid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经费批次ID：</label>
                <div class="col-sm-8">
                    <input name="jingfeipiciid" th:field="*{jingfeipiciid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经费批次名称：</label>
                <div class="col-sm-8">
                    <input name="jingfeipicimingcheng" th:field="*{jingfeipicimingcheng}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">发放人数：</label>
                <div class="col-sm-8">
                    <input name="fafangrenshu" th:field="*{fafangrenshu}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">全额人数：</label>
                <div class="col-sm-8">
                    <input name="quanerenshu" th:field="*{quanerenshu}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">停发人数：</label>
                <div class="col-sm-8">
                    <input name="tingfarenshu" th:field="*{tingfarenshu}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">总金额：</label>
                <div class="col-sm-8">
                    <input name="zongjine" th:field="*{zongjine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">发放金额：</label>
                <div class="col-sm-8">
                    <input name="fafangjine" th:field="*{fafangjine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">余额：</label>
                <div class="col-sm-8">
                    <input name="yue" th:field="*{yue}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否收到：</label>
                <div class="col-sm-8">
                    <input name="isshoudao" th:field="*{isshoudao}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否已发放：</label>
                <div class="col-sm-8">
                    <input name="isfafang" th:field="*{isfafang}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有余额：</label>
                <div class="col-sm-8">
                    <input name="isyue" th:field="*{isyue}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有效：</label>
                <div class="col-sm-8">
                    <input name="isvalid" th:field="*{isvalid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注1：</label>
                <div class="col-sm-8">
                    <input name="beizhu1" th:field="*{beizhu1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注2：</label>
                <div class="col-sm-8">
                    <input name="beizhu2" th:field="*{beizhu2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注3：</label>
                <div class="col-sm-8">
                    <input name="beizhu3" th:field="*{beizhu3}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注4：</label>
                <div class="col-sm-8">
                    <input name="beizhu4" th:field="*{beizhu4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注5：</label>
                <div class="col-sm-8">
                    <input name="beizhu5" th:field="*{beizhu5}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/jingfeidept";
        $("#form-jingfeidept-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-jingfeidept-edit').serialize());
            }
        }
    </script>
</body>
</html>